package com.example.lotterysystem.service;

import com.example.lotterysystem.controller.param.UserLoginParam;
import com.example.lotterysystem.controller.param.UserPasswordLoginParam;
import com.example.lotterysystem.controller.param.UserRegisterParam;
import com.example.lotterysystem.service.dto.UserDTO;
import com.example.lotterysystem.service.dto.UserLoginDTO;
import com.example.lotterysystem.service.dto.UserRegisterDTO;
import com.example.lotterysystem.service.enums.UserIdentityEnum;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    //     注册
    UserRegisterDTO register(UserRegisterParam param);
     //    登录
    UserLoginDTO login(UserLoginParam param);
    //      查询用户信息
    List<UserDTO> findUserInfo(UserIdentityEnum identity);
}
